/**
 * RecipeDetailXM.java
 * Nov 18, 2013
 * Copyright: phongtdse60732@fpt.edu.vn
 */
package XMLEntities;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;

/**
 * @author Lubu
 * @version 1.0
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RecipeDetail", propOrder = { "id", "dishList" })
public class RecipeDetailXM {
	@XmlAttribute(required = true)
	private int id;
	@XmlElement(required = true, name = "DishList")
	private DishListXM dishList;
	public RecipeDetailXM() {
		super();
		this.dishList = new DishListXM();
	}
	public RecipeDetailXM(int id, DishListXM dishList) {
		super();
		this.id = id;
		this.dishList = dishList;
	}
	/**
	 * Get value of the id
	 * @return the id
	 */
	public int getId() {
		return id;
	}
	/**
	 * Set value for the id
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}
	/**
	 * Get value of the dishList
	 * @return the dishList
	 */
	public DishListXM getDishList() {
		return dishList;
	}
	/**
	 * Set value for the dishList
	 * @param dishList the dishList to set
	 */
	public void setDishList(DishListXM dishList) {
		this.dishList = dishList;
	}
	
	
}
